#curl -v -X POST 'http://localhost:7099/ServletDemo/helloHttpServlet?key1=value1&key2=value2';

# application/x-www-form-urlencoded
#curl -v -X POST 'http://localhost:7099/ServletDemo/helloHttpServlet' -d 'key1=value1'

# application/json
#curl -X POST 'http://localhost:7099/ServletDemo/helloHttpServlet' -d '{"key1": "value1"}' --header "Content-Type: application/json"

# 发送数组参数
#curl -X POST 'http://localhost:7099/ServletDemo/helloHttpServlet' -d 'key1=value1&xxx=yyy&a[]=ooo&a[]=mmm'